A. At Compile-time
B. At run-time
C. Depends on the code
D. None of these
Advertisement
Related Mcqs:
- Name the keyword that makes a variable belong to a class, rather than being defined for each instance of the class?
- A. abstract B. static C. volatile D. final...
- Which keyword is used while using interface________________?
- A. throw B. throws C. extend D. implements...
- After the compilation of the java source code, which file is created by the JVM ?
- A. .class B. .doc C. .java D. .cdr...
- In which we clone the object and their constituent parts_______________?
- A. Deep cloning B. Shallow cloning C. Both of above D. None of above...
- Object which can store group of other objects is called___________________?
- A. Package B. Wrapper C. Java object D. Collection object...
- Converting a primitive type data into its corresponding wrapper class object instance is called ________________?
- A. boxing B. wrapping C. autoboxing D. instantiation...
- Which metrhods are utilized to control the access to an object in multi threaded programming ?
- A. Synchronized methods B. Asynchronized methods C. Serialized methods D. None of above...
- Process of creating exact copy of the existing object is called_______________?
- A. overloading B. overriding C. cloning D. coping...
- Runnable is_______________?
- A. Interface B. Class C. Variable D. Method...
- Automatic type conversion in Java takes place when________________?
- A. Two type are compatible and size of destination type is equal of source type. B. Two type are compatible and size of destination type is larger than source type. C. Two type are compatible and size of destination type is shorter than source type. D. All of the above...
Advertisement